// import { combineReducers } from 'redux'

const alterCount = (state = {count: 0}, action) => {
    switch (action.type) {
        case 'INCREASE' :
        return {count: state.count + 1}

        case 'REDUCE' :
        return {count: state.count - 1}

        default:
        return state
    }
}

/* const stores = combineReducers({
    increase
}) */

export default alterCount